﻿@model CallCenter.Data.Models.RegisterViewModel


@{
    ViewBag.Title = "Password Reset";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<style>
    .form-control {
        width: 25%;
    }
</style>

@using (Html.BeginForm("PasswordReset", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
    @Html.AntiForgeryToken()
@*<h4>Create a new account.</h4>*@
    <hr />
    <div class="form-group">
        <label class="col-md-2 control-label" style="font-size: 20px;">
            Password Reset
        </label>
    </div>
    @Html.ValidationSummary("", new { @class = "text-danger" })
     <div class="form-group">
        @Html.Label("User Name:", new { @class = "col-md-2 control-label" })
        <div class="col-md-10">
            @*@Html.DropDownList("Name")*@
            @Html.DropDownList("UserName", (IEnumerable<SelectListItem>)ViewBag.UserName, new { @class = "form-control" })
        </div>
    </div>
    <div class="form-group">
        @Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
        <div class="col-md-10">
            @Html.PasswordFor(m => m.Password, new { @class = "form-control" })
        </div>
    </div>
    <div class="form-group">
        @Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
        <div class="col-md-10">
            @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-offset-2 col-md-10">
            <input type="submit" class="btn btn-default" value="Update User" />
        </div>
    </div>

        
}
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}


